package com.small.nacos.naming.consistency.ephemeral.distro;

import com.small.nacos.core.distributed.distro.entity.DistroData;
import com.small.nacos.core.distributed.distro.entity.DistroKey;

/**
 *Distro http 接收的数据
 * @Author zhoujin
 * @Date 2022/11/14 20:09
 */
public class DistroHttpData extends DistroData {

    private Object deserializedContent;

    public DistroHttpData(DistroKey distroKey, Object deserializedContent) {
        setDistroKey(distroKey);
        this.deserializedContent = deserializedContent;
    }

    public Object getDeserializedContent() {
        return deserializedContent;
    }

    public void setDeserializedContent(Object deserializedContent) {
        this.deserializedContent = deserializedContent;
    }
}
